package org.donghuan.rms.framework.domain;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class Country implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -7335982123141433727L;
	private Long id;
	private String name;
	private List<Person> persons;

	public Country() {
	}

	public Country(String name, List<Person> persons) {
		this.name = name;
		this.persons = persons;
	}

	public Country(String string) {
		this.name = string;
		persons = new ArrayList<Person>();
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public List<Person> getPersons() {
		return persons;
	}

	public void setPersons(List<Person> persons) {
		this.persons = persons;
	}
}
